djgoulart
(usa Debian)
Enviado em 27/01/2009 - 10:37h
Pessoal Olá ^^ !!!
Estou com um problema para configurar o squid numa rede onde tem um servidor Win300 Server.
Toda vez que dou o comando:
# squid -z
Aparece o seguinte erro:
starlinux:/etc/squid# squid -z
2009/01/27 10:21:39| decode_addr: Invalid IP address '“'
2009/01/27 10:21:39| squid.conf line 47: acl msnlibera src “/etc/squid/msnliberados”
2009/01/27 10:21:39| aclParseIpData: Ignoring invalid IP acl entry: unknown first address '“'
2009/01/27 10:21:39| aclParseAclLine: WARNING: empty ACL: acl msnlibera src “/etc/squid/msnliberados”
2009/01/27 10:21:39| decode_addr: Invalid IP address '“'
2009/01/27 10:21:39| squid.conf line 59: acl cpd src “/etc/squid/liberados”
2009/01/27 10:21:39| aclParseIpData: Ignoring invalid IP acl entry: unknown first address '“'
2009/01/27 10:21:39| aclParseAclLine: WARNING: empty ACL: acl cpd src “/etc/squid/liberados”
2009/01/27 10:21:39| decode_addr: Invalid IP address '“'
2009/01/27 10:21:39| squid.conf line 67: acl grupo1 src “/etc/squid/grupo1″
2009/01/27 10:21:39| aclParseIpData: Ignoring invalid IP acl entry: unknown first address '“'
2009/01/27 10:21:39| aclParseAclLine: WARNING: empty ACL: acl grupo1 src “/etc/squid/grupo1″
2009/01/27 10:21:39| Creating Swap Directories
já tentei de tudo , olhei em muitos lugares mas não conseguí resolver sozinho.
Eis aqui meu squid.conf:
################ Squid ######################
### Arquivo de Configuracao do Squid
#### Tags Comuns
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_mem 256 Mb
cache_swap_log /var/spool/squid/swap.log
cache_dir diskd /var/spool/squid 1024 16 256
# Porta de acesso a internet
http_port 3128 transparent
# Nome da rede
visible_hostname starlinux
# ACL que identifica toda a rede
acl all src 192.168.254.0/24
### Bloqueio do msn
acl msnbloque url_regex -i “/etc/squid/srcmsn”
acl msnlibera src “/etc/squid/msnliberados”
http_access deny msnbloque !msnlibera
#########################
### Grupo de ips liberados
acl cpd src “/etc/squid/liberados”
http_access allow cpd
################################
######## Zona de Seguranca Vendas #############
acl grupo1 src “/etc/squid/grupo1″
acl sites_grupo1 url_regex -i “/etc/squid/sites_grupo1″
http_access allow grupo1 sites_grupo1
##################################
######## Zona de Segurança Administração #############
#acl grupo_administracao src “/etc/squid/administracao″
#acl sites_administracao url_regex -i “/etc/squid/sites_administracao″
#http_access allow grupo_administracao sites_administracao
##################################
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 587 # smtp yahoo
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl Safe_ports port 10000 # Webmin
acl Safe_ports port 22 # SSH
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access allow SSL_ports
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
###############################
# Bloquear todo o resto
http_access deny all
_________________________________________________________________-
Eu tbm tenho uma duvida:
Quando meu squid funcionar eu precisarei de um servidor samba para que os terminais WinXP sejam "inspecionados" pelo squid ?
Desde já agradeço a ajuda de vcs !!!!
Ah sim aqui está a estrutura da minha pasta /etc/squid :
starlinux:/etc/squid#
squid.conf squid.confbkp liberados grupo_vendas grupo_administracao sites_vendas sites_administracao
srcmsn msnliberados
Muito obrigado aos que se dispuserem a me ajudar.